package pack1;

public class java3 {
    public static void main(String[] args){
        int salary= 8000;
        double ShuiE=0;
        ShuiE=salary-3500;
        if(ShuiE<=1500)
            ShuiE=ShuiE*0.03;
        if(ShuiE>=1500&&ShuiE<=4500)
            ShuiE=ShuiE*0.1-105;
        if(ShuiE>=4500&&ShuiE<=9000)
            ShuiE=ShuiE*0.2-555;
        if(ShuiE>=9000&&ShuiE<=35000)
            ShuiE=ShuiE*0.25-1005;
        if(ShuiE>=35000&&ShuiE<=55000)
            ShuiE=ShuiE*0.3-2755;
        if(ShuiE>=55000&&ShuiE<=80000)
            ShuiE=ShuiE*0.35-5505;
        if(ShuiE>=80000)
            ShuiE=ShuiE*0.45-13505;
        System.out.print("个税"+"="+ShuiE);





    }
}
